<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>css图书封面</title>
		<style type="text/css">
			.book {
				width: 400px;
				height: 600px;
				background-color: pink;
			}

			.book .header {
				background-color: #eaeaea;
				height: 350px;
			}

			.book .header .banner {
				height: 100px;
				text-align: center;
				line-height: 80px;
				font-size: 30px;
			}

			.book .header.title {
				text-align: center;
				line-height: 100px;
				font-size: 40px;
			}

			.book .header.auth {
				text-align: left;
				line-height: 50px;
				font-size: 20px;
				text-align: 200px;
			}
		</style>
	</head>
	<body>
		<div class="book">
			<div class="header">
				<div class="banner">
					生活真是充满乐趣
				</div>
				<div class="title">
					你和阴影中的你
				</div>
				<div class="auth">
					@张三
				</div>
			</div>
			<div class="body">
				那些该作于不该做的
			</div>
		</div>
	</body>
</html>
